package blocks

import (
	"gitee.com/wchpub/dwSvrPub/blocks/dailyBlock"
	"gitee.com/wchpub/dwSvrPub/blocks/gameBlock"
	"gitee.com/wchpub/dwSvrPub/blocks/mainBlock"
	"gitee.com/wchpub/dwSvrPub/blocks/rankingBlock"
)

// 数据块定义
var DataBlockDefine = map[string]struct{}{
	mainBlock.BlockName:    {},
	gameBlock.BlockName:    {},
	dailyBlock.BlockName:   {},
	rankingBlock.BlockName: {},
}

// 数据块接口
type IBlockData interface {
	GetString(key string) (string, error)

	BlockName() string
}
